/* 轮播图 */

#banner {
    overflow: hidden;
    background-color: #eaeaea;
}

/* 广告 */
.channel{
    background-color: #f9f9f9;
}
.channel .channel-d {
    display: inline-block;
    height: 5.875rem;
    width: 49%;
    padding: 0 .3125rem;
    margin-top: .625rem;   
}

.channel img {
    width: 100%;
    height: 100%;
}

/* 手机列表 */

p {
    margin: 0;
    padding: 0;
    overflow: hidden;
    /*自动隐藏文字*/
    text-overflow: ellipsis;
    /*文字隐藏后添加省略号*/
    white-space: nowrap;
    /*强制不换行*/
}

.sub-title {
    height: 2rem;
    text-align: center;
    overflow: hidden;
}

.sub-title div {
    font-size: 1rem;
    display: inline-block;
    height: 0.4rem;
    border-bottom: .0625rem solid #dcdcdc;
    padding: 0 1.9rem;
    margin: .7rem 0 .65rem;
}

.sub-title div h2 {
    color: #888;
    font-size: 0.9rem;
    padding: 0 1.15rem;
    white-space: nowrap;
    display: block;
    text-overflow: ellipsis;
    overflow: hidden;
    background-color: #eaeaea;
    position: relative;
    top: -.9rem;
    max-width: 11.5rem;
}

.product {
    padding: 0 .625rem;
}

.p-img {
    height: 5.875rem;
    width: 5.875rem;
    margin: 0 auto;
    padding-top: 1rem;
    position: relative;
}

.p-name {
    font-size: 0.9rem;
    color: #333;
    line-height: 1.2rem;
}

.p-promotion {
    font-size: 0.6rem;
    color: #bbb;
    line-height: 1.2rem;
}

.p-price {
    font-size: 1rem;
    color: #ca151e;
    line-height: 1.2rem;
}